Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMDB [DO NOT MERGE] #368

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

LMDB [DO NOT MERGE] #368

wants to merge 1 commit into from

Conversation

dangell7
Copy link
Collaborator

@dangell7 dangell7 commented Sep 21, 2024

I rewrote the low level db from sqlite3 to lmdb. I wouldn't use this to query anything except for current ledger state.

Here are some numbers and reasoning why I made the decision to try to rewrite it.

Running LMDB test with configuration:
  Map size: 10485760 bytes
LMDB write duration: 0.0651284 seconds
LMDB read duration: 0.000178667 seconds
Running SQLite test with configuration:
  Page size: 512 bytes
  Max page count: 1073741823
SQLite write duration: 0.158965 seconds
SQLite read duration: 0.00546225 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant